<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .d1{
            /* float: left; */
           height: 40px;
            background-color: black;
        }
        .w{
            width: 1226px;
            margin: 0 auto;
        }
        .d2{
            height: 100px;
            width: 1226px;
            background-color: pink;
        }
        .d3{float: left;
            width: 234px;
            height: 460px;
            background-color: orange;
        }
        .d4{float: right;
            height: 460px;
            width: 992px;
            background-color: skyblue;

        }

    </style>
</head>
<body>
    <div class="d1"></div>
    <div class="w">
    <div class="d2"></div>
    <div class="d3"></div>
    <div class="d4"></div>
</div>
</body>
</html>